package com.pm.business.service;

import java.util.List;
import com.pm.business.domain.CompeteEnterpriseHistoryProject;

/**
 * 历史业绩Service接口
 * 
 * @author zxl
 * @date 2022-05-07
 */
public interface ICompeteEnterpriseHistoryProjectService 
{
    /**
     * 查询历史业绩
     * 
     * @param projectId 历史业绩主键
     * @return 历史业绩
     */
    public CompeteEnterpriseHistoryProject selectCompeteEnterpriseHistoryProjectByProjectId(Long projectId);

    /**
     * 查询历史业绩列表
     * 
     * @param competeEnterpriseHistoryProject 历史业绩
     * @return 历史业绩集合
     */
    public List<CompeteEnterpriseHistoryProject> selectCompeteEnterpriseHistoryProjectList(CompeteEnterpriseHistoryProject competeEnterpriseHistoryProject);

    /**
     * 新增历史业绩
     * 
     * @param competeEnterpriseHistoryProject 历史业绩
     * @return 结果
     */
    public int insertCompeteEnterpriseHistoryProject(CompeteEnterpriseHistoryProject competeEnterpriseHistoryProject);

    /**
     * 修改历史业绩
     * 
     * @param competeEnterpriseHistoryProject 历史业绩
     * @return 结果
     */
    public int updateCompeteEnterpriseHistoryProject(CompeteEnterpriseHistoryProject competeEnterpriseHistoryProject);

    /**
     * 批量删除历史业绩
     * 
     * @param projectIds 需要删除的历史业绩主键集合
     * @return 结果
     */
    public int deleteCompeteEnterpriseHistoryProjectByProjectIds(Long[] projectIds);

    /**
     * 删除历史业绩信息
     * 
     * @param projectId 历史业绩主键
     * @return 结果
     */
    public int deleteCompeteEnterpriseHistoryProjectByProjectId(Long projectId);
}
